package com.fau.hm.util;

import java.io.Serializable;

/**
 * 系统常量表
 * @author liy
 * @since 2014年7月25日,上午9:47:40
 */
public class SystemConfig implements Serializable {

	private static final long serialVersionUID = -757635066186116034L;
	
	/* 用户状态 */
	public static final String ONLINE_STATUS = "0";			// 在线状态
	public static final String OFFLINE_STATUS = "1";		// 离线状态
	
	/* 企业状态  */
	public static final String ENTERPRISE_OPEN = "0";		// 开放
	public static final String ENTERPRISE_LOCKED = "1";		// 锁定
	
	/*订单系统状态*/
	public static final String ORDERS_WAIT_AUDIT_TYPE = "39";				// 待审核
	public static final String ORDERS_AUDIT_PASS_TYPE = "0";	   			// 审核通过
	
	/* 话务任务状态*/
	public static final String CALL_TASK_UNTREATED = "23";				// 未处理
	public static final String CALL_TASK_PENDING = "26";				// 待处理
	public static final String CALL_TASK_END = "25";					// 已结束
	
	/* 下单状态  */
	public static final String ORDER_SINGLE = "39";			// 下单
	public static final String ORDER_CANCEL = "6";			// 取消下单
	
	public static final String REVIEW_PASS = "1";			// 审核通过
	
	/* 发货状态  */
	public static final String BE_DELIVERY = "0";			// 未发货
	public static final String HAS_DELIVERY = "1";			// 已发货
	
	public static final String HAS_CHARGEBACK = "2";		// 已退单
	/* 签收状态  */
	public static final String BE_SIGNED = "3";				// 未签收
	public static final String HAS_SIGNED = "4";			// 已签收
	/* 对账状态  */
	public static final String BE_RECONCILED = "5";			// 待对账
	public static final String HAS_RECONCILED = "6";		// 已对账
	/* 回款状态  */
	public static final String BE_SECTIONED = "7";			// 待回款
	public static final String HAS_SECTIONED = "8";			// 已回款
	
	/* 数据字典表类型 */
	public static final String JOB_STATUS = "JOB_STATUS";	// 在职、 离职类型
	public static final String DEPT_TYPE = "DEPT_TYPE";		// 部门（系统）类型
	public static final String CENTER_TYPE = "CENTER_TYPE";	// 中心类型
	public static final String LEAVE_TYPE = "LEAVE_TYPE";	// 休假类型
	public static final String GENDER_TYPE = "GENDER_TYPE";	// 性别类型
	
	/* 数据字典表key值 */
	public static final String JOB_WORK_STATUS = "0";		//在职
	public static final String JOB_TURN_OVER_STATUS = "1";	//离职
	
	public static final String CALL_DEPT = "15";			// 话务（部门）
	public static final String NUCLEAR_DEPT = "16";			// 核单（部门）
	public static final String CALL_GROUP = "2";			// 话务（组）
	public static final String NUCLEAR_GROUP = "3";			// 核单（组）
	
	/* 职位  */
	public static final String GROUP_LEADER = "1";			// 组长
	public static final String GROUP_EMPLOYEE = "2";		// 组员
	
	/* 请假单状态  */
	public static final String LEAVE_SUBMIT = "0";			// 提交请假
	public static final String LEAVE_BACK = "1";			// 收回请假单
	
	/* 导出数据模板 */
	public static final String EMPLOYEE_INFO_FILE = "/template/employee_info/员工信息管理.xls";			//用户信息Excel
	public static final String EMPLOYEE_INFO_TEMPLATE = "/template/employee_info/员工信息模板.xls";		//导入信息模板Excel
	public static final String ORDERS_STATISTICS_FILE = "/template/statistics/订单统计.xls";				//导出订单统计模板Excel
	public static final String CALL_STATISTICS_FILE = "/template/statistics/电话统计.xls";				//导出电话统计模板Excel
	public static final String TASK_STATISTICS_FILE = "/template/statistics/任务统计.xls";				//导出任务统计模板Excel
	
	/* 系统数据字典  */
	public static final String INIT_DICTIONARY_DATA = "/template/base/系统数据字典.xls";	// 实例化企业字典表数据
	
	/* 上传员工档案资料相关文件目录 */
	public static final String UPLOAD_ARCHIVAL_FILES = "/upload/archival";
	
	/* 上传文档档案类型  */
	public static final String UPLOAD_ARCHIVAL_KEY = "filetype";
	public static final String UPLOAD_ARCHIVAL_TYPE = "FILE_TYPE";
	
	public static final String UPLOAD_ARCHIVAL_SIZE_KEY = "fileSize";
	public static final String UPLOAD_ARCHIVAL_SIZE_TYPE = "FILE_SIZE";
	
	/*表单字段转译类型*/
	public static final String CH_FIELD_TYPE = "CH_FIELD";		// 转译数据字段类型
	
	/*系统类型*/
	public static final String CM_SYSTEM_TYPE = "cm";			// 话务系统
	public static final String OM_SYSTEM_TYPE = "om";			// 订单系统
	public static final String WM_SYSTEM_TYPE = "wm";			// 仓储系统
	public static final String MM_SYSTEM_TYPE = "mm";			// 媒体系统
	public static final String FM_SYSTEM_TYPE = "fm";			// 财务系统
	public static final String SS_SYSTEM_TYPE = "ss";			// 统计系统
	public static final String HM_SYSTEM_TYPE = "hm";			// 人资系统
	
	/* 资源类型 */
	public static final Integer IS_MENUS = 0;					// 菜单
	
	/*超级管理员角色id*/
	public static final String SUPER_ADMIN = "1";				// 超级管理员用户
	
	/* 角色id——超级管理员*/
	public static final String SUPER_ID = "6192cc33b8ff4fb6a3307bbb6a346ea5";					// 超级管理员id
	
	/*根节点资源*/
	public static final Integer ROOT_RESOURCE_TYPE = 2;
	
	public static final String ORDER_NATURE_TYPE = "13";		// 订单复购
	
}
